package com.ruoyi.system.domain.user;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * This file is part of 南阳迈特网络科技有限公司.
 * @company  南阳迈特网络科技有限公司
 * @link     https://www.nymaite.com
 * @document https://product.nymaite.cn
 * @contact  service@nymaite.com
 * @author nymaite
 */
/**
 * 用户卡密记录对象 vs_dramas_user_cryptocard
 * 
 * @author zzx
 * @date 2024-04-30
 */
public class VsDramasUserCryptocard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 卡密 */
    @Excel(name = "卡密")
    private Long cryptocardId;

    /** 类型:vip=VIP套餐,reseller=分销商套餐,usable=剧场积分套餐 */
    @Excel(name = "类型:vip=VIP套餐,reseller=分销商套餐,usable=剧场积分套餐")
    private String type;

    /** 订单 id */
    @Excel(name = "订单 id")
    private Long orderId;

    private Long createtime;

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCryptocardId(Long cryptocardId) 
    {
        this.cryptocardId = cryptocardId;
    }

    public Long getCryptocardId() 
    {
        return cryptocardId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("cryptocardId", getCryptocardId())
            .append("type", getType())
            .append("orderId", getOrderId())
            .append("createtime", getCreatetime())
            .toString();
    }
}
